package com.theatre.userservice.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 购物车实体类
 */
@Data
@TableName("cart")
public class Cart {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id; // 购物车ID

    private Long shopId; // 所属商铺ID

    private Long scriptId; // 剧本ID

    private LocalDateTime createdTime; // 加入时间

    private LocalDateTime updatedTime; // 更新时间
}
